[INFO] cloning repository https://github.com/RWZ11/did-system
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RWZ11/did-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRWZ11%2Fdid-system", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRWZ11%2Fdid-system'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c30136e748d4450be0b767f065a83600169d18a1
[INFO] fixing RWZ11/did-system against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRWZ11%2Fdid-system" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/RWZ11/did-system
[INFO] finished tweaking git repo https://github.com/RWZ11/did-system
[INFO] tweaked toml for git repo https://github.com/RWZ11/did-system written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RWZ11/did-system on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RWZ11/did-system already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hyper-util v0.1.13
[INFO] [stderr]   Downloaded rusqlite v0.30.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9b19556d025dc6e0b611e3da91c5f2bfb77d1682f526ec7997c529ec89536402
[INFO] running `Command { std: "docker" "start" "9b19556d025dc6e0b611e3da91c5f2bfb77d1682f526ec7997c529ec89536402", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b19556d025dc6e0b611e3da91c5f2bfb77d1682f526ec7997c529ec89536402" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b19556d025dc6e0b611e3da91c5f2bfb77d1682f526ec7997c529ec89536402", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b19556d025dc6e0b611e3da91c5f2bfb77d1682f526ec7997c529ec89536402" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling cc v1.2.24
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking ripemd v0.1.3
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking tokio v1.45.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper-util v0.1.13
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking rusqlite v0.30.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking did_system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct TransactionResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/blockchain/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CLIENT.as_ref().ok_or_else(|| Error::BlockchainError("Blockchain client not initialized".to_string()))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct TransactionResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/blockchain/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CLIENT.as_ref().ok_or_else(|| Error::BlockchainError("Blockchain client not initialized".to_string()))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct TransactionResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `store_did_document` and `get_did_document` are never used
[INFO] [stdout]   --> src/blockchain/mod.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl BlockchainClient {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub async fn store_did_document(&self, document: &DIDDocument) -> Result<String, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub async fn get_did_document(&self, did: &str) -> Result<DIDDocument, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store_did_document` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub async fn store_did_document(document: &DIDDocument) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_did_document` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub async fn get_did_document(did: &str) -> Result<DIDDocument, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_did` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub async fn register_did(did: &str, public_key: &[u8]) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deactivate_did` is never used
[INFO] [stdout]    --> src/db/mod.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn deactivate_did(did: &str) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_did` is never used
[INFO] [stdout]   --> src/did/mod.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub async fn create_did(signing_key: &SigningKey) -> Result<DIDDocument, Error> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InternalError`, `CryptoError`, and `NetworkError` are never constructed
[INFO] [stdout]   --> src/types.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Error {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     InternalError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     CryptoError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     NetworkError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DIDStatus` is never used
[INFO] [stdout]   --> src/types.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum DIDStatus {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_keypair` is never used
[INFO] [stdout]  --> src/utils.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_keypair() -> SigningKey {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_signature` is never used
[INFO] [stdout]   --> src/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn verify_signature(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_base58` is never used
[INFO] [stdout]   --> src/utils.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn decode_base58(encoded: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_bytes` is never used
[INFO] [stdout]   --> src/utils.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn generate_random_bytes(length: usize) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sha256` is never used
[INFO] [stdout]   --> src/utils.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn sha256(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ripemd160` is never used
[INFO] [stdout]   --> src/utils.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn ripemd160(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double_sha256` is never used
[INFO] [stdout]   --> src/utils.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn double_sha256(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash160` is never used
[INFO] [stdout]   --> src/utils.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn hash160(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_salt` is never used
[INFO] [stdout]    --> src/utils.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn generate_salt() -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_base58` is never used
[INFO] [stdout]    --> src/utils.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn is_valid_base58(encoded: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_hex` is never used
[INFO] [stdout]    --> src/utils.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn is_valid_hex(hex: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_hex` is never used
[INFO] [stdout]    --> src/utils.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_hex` is never used
[INFO] [stdout]    --> src/utils.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn from_hex(hex: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/blockchain/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CLIENT.as_ref().ok_or_else(|| Error::BlockchainError("Blockchain client not initialized".to_string()))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct TransactionResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `store_did_document` and `get_did_document` are never used
[INFO] [stdout]   --> src/blockchain/mod.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl BlockchainClient {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub async fn store_did_document(&self, document: &DIDDocument) -> Result<String, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub async fn get_did_document(&self, did: &str) -> Result<DIDDocument, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store_did_document` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub async fn store_did_document(document: &DIDDocument) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_did_document` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub async fn get_did_document(did: &str) -> Result<DIDDocument, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_did` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub async fn register_did(did: &str, public_key: &[u8]) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deactivate_did` is never used
[INFO] [stdout]    --> src/db/mod.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn deactivate_did(did: &str) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_did` is never used
[INFO] [stdout]   --> src/did/mod.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub async fn create_did(signing_key: &SigningKey) -> Result<DIDDocument, Error> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InternalError`, `CryptoError`, and `NetworkError` are never constructed
[INFO] [stdout]   --> src/types.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Error {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     InternalError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     CryptoError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     NetworkError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DIDStatus` is never used
[INFO] [stdout]   --> src/types.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum DIDStatus {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_keypair` is never used
[INFO] [stdout]  --> src/utils.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_keypair() -> SigningKey {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_signature` is never used
[INFO] [stdout]   --> src/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn verify_signature(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_base58` is never used
[INFO] [stdout]   --> src/utils.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn decode_base58(encoded: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_bytes` is never used
[INFO] [stdout]   --> src/utils.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn generate_random_bytes(length: usize) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sha256` is never used
[INFO] [stdout]   --> src/utils.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn sha256(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ripemd160` is never used
[INFO] [stdout]   --> src/utils.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn ripemd160(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double_sha256` is never used
[INFO] [stdout]   --> src/utils.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn double_sha256(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash160` is never used
[INFO] [stdout]   --> src/utils.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn hash160(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_salt` is never used
[INFO] [stdout]    --> src/utils.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn generate_salt() -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_base58` is never used
[INFO] [stdout]    --> src/utils.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn is_valid_base58(encoded: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_hex` is never used
[INFO] [stdout]    --> src/utils.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn is_valid_hex(hex: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_hex` is never used
[INFO] [stdout]    --> src/utils.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_hex` is never used
[INFO] [stdout]    --> src/utils.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn from_hex(hex: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/blockchain/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CLIENT.as_ref().ok_or_else(|| Error::BlockchainError("Blockchain client not initialized".to_string()))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.26s
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "9b19556d025dc6e0b611e3da91c5f2bfb77d1682f526ec7997c529ec89536402", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b19556d025dc6e0b611e3da91c5f2bfb77d1682f526ec7997c529ec89536402", kill_on_drop: false }`
[INFO] [stdout] 9b19556d025dc6e0b611e3da91c5f2bfb77d1682f526ec7997c529ec89536402
